﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [Table("V_UserInfo")]
    [Serializable()]
    public class UserInfo
    {
        [Key(), Column("staff_no")]
        public string Account { get; set; }
        [Column("staff_name")]
        public string Name { get; set; }
        [Column("dept_name")]
        public string Department { get; set; }
        public string Title { get; set; }
    }
}
